﻿using RemoteSensingImageDirectServer.Models.Storage;

namespace RemoteSensingImageDirectServer.Models.Map.Register
{
    public class GroupMapProperties
    {
        /// <summary>
        /// 数据缓存存储类型
        /// 0: 默认为文件夹
        /// 1: 存储在Sqlite数据库
        /// 2: 存储在PostSQL数据库
        /// 3: 存储在mongodb数据库
        /// </summary>
        public int SaveType { get; set; }

        /// <summary>
        /// 数据缓存存储参数
        /// </summary>
        public IServerStorage Storage { get; set; }

        /// <summary>
        /// 最小层级
        /// </summary>
        public int MinLevel { get; set; }

        /// <summary>
        /// 最大层级
        /// </summary>
        public int MaxLevel { get; set; }

        /// <summary>
        /// 缓存瓦片个数
        /// </summary>
        public int TileCount { get; set; }
    }
}
